package ModelLayer;

public class Credit extends Payment
{
    private String cardType;
    private String fullName;
    private String creditCardNumber;
    private String expirationDate;
    private int cvc;
    
    public Credit(int sID, double amount)
    {
        this(sID,amount,"default","default","default","default",123);
    }
    
    public Credit(int sID, double amount, String cardType, String fullName, String creditCardNumber, String expirationDate, int cvc)
    {
         super(sID, amount);
         this.cardType = cardType;
         this.fullName = fullName;
         this.creditCardNumber = creditCardNumber;
         this.expirationDate = expirationDate;
         this.cvc = cvc;
    }
    
    
    public double getChange(double totalPrice)
    {
        return 0;
    }
}
